<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head><title>class LengthEncoded in sbinary.Generic</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.2.final)" name="generator"></meta><link href="../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../script.js"></script>
        </head>
        <body onload="init()">
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">Scala 2</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
        
      <div class="entity">
        <a href="../sbinary/Generic.html" target="_self">sbinary.Generic</a>
        <br></br>
        <span class="entity">class  LengthEncoded</span>
      </div><hr></hr>
      <div class="source">
        [source: <a href="" class="sbinary/Generic"><code>sbinary/Generic.scala</code></a>]
      </div><hr></hr>
      <a name="LengthEncoded"></a><dl>
      <dt>
        
        <code>abstract</code>
        <code>class</code>
        <em>LengthEncoded</em>[<em>S</em> &lt;: <a href="" target="contentFrame" class="scala/Collection">scala.Collection</a>[<a href="../sbinary/Generic.LengthEncoded.html#T" target="_self">T</a>], <em>T</em>](<code>implicit </code><em>binT</em> : <a href="../sbinary/Protocol.Format.html" target="_self">Format</a>[<a href="../sbinary/Generic.LengthEncoded.html#T" target="_self">T</a>])
      </dt>
      <dd><code> extends </code><a href="../sbinary/Protocol.Format.html" target="_self">Format</a>[<a href="../sbinary/Generic.LengthEncoded.html#S" target="_self">S</a>]<code> with </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd>
    </dl>
      <dl><dd>Format instance which encodes the collection by first writing the length
   of the collection as an int, then writing the collection elements in order.</dd></dl>
      <dl></dl>
    
      


<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Method Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code>abstract def</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/Generic.LengthEncoded.html#build%28Int%2CIterator%5BT%5D%29" target="_self">build</a></em>
        (<em>size</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>ts</em> : <a href="" target="contentFrame" class="scala/Iterator">scala.Iterator</a>[<a href="../sbinary/Generic.LengthEncoded.html#T" target="_self">T</a>]) : <a href="../sbinary/Generic.LengthEncoded.html#S" target="_self">S</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/Generic.LengthEncoded.html#reads%28Generic.this.Input%29" target="_self">reads</a></em>
        (<em>in</em> : <a href="../sbinary/IO.html#Input" target="_self">Input</a>) : <a href="../sbinary/Generic.LengthEncoded.html#S" target="_self">S</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../sbinary/Generic.LengthEncoded.html#writes%28Generic.this.Output%2CS%29" target="_self">writes</a></em>
        (<em>out</em> : <a href="../sbinary/IO.html#Output" target="_self">Output</a>, <em>ts</em> : <a href="../sbinary/Generic.LengthEncoded.html#S" target="_self">S</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#toString%28%29" target="_self">toString</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
        </td></tr>
      </table>


      


<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Method Details</td></tr>
        </table><div><a name="build%28Int%2CIterator%5BT%5D%29"></a><dl>
      <dt>
        
        <code>abstract</code>
        <code>def</code>
        <em>build</em>(<em>size</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>, <em>ts</em> : <a href="" target="contentFrame" class="scala/Iterator">scala.Iterator</a>[<a href="../sbinary/Generic.LengthEncoded.html#T" target="_self">T</a>]) : <a href="../sbinary/Generic.LengthEncoded.html#S" target="_self">S</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="reads%28Generic.this.Input%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>reads</em>(<em>in</em> : <a href="../sbinary/IO.html#Input" target="_self">Input</a>) : <a href="../sbinary/Generic.LengthEncoded.html#S" target="_self">S</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="writes%28Generic.this.Output%2CS%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>writes</em>(<em>out</em> : <a href="../sbinary/IO.html#Output" target="_self">Output</a>, <em>ts</em> : <a href="../sbinary/Generic.LengthEncoded.html#S" target="_self">S</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><hr></hr></div>


    <hr></hr>
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">Scala 2</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
      </body>
      </html>